// 园区管理
export default {
  path: '/park',
  component: () => import('@/layout'),
  permission: 'park',
  meta: { title: '园区管理', icon: 'el-icon-office-building' },
  children: [
    // 楼宇管理
    {
      path: 'building',
      permission: 'park:building:list',
      meta: { title: '楼宇管理' },
      component: () => import('@/views/Park/Building/index')
    },
    // 企业管理
    {
      path: 'enterprise',
      permission: 'park:enterprise:list',
      meta: { title: '企业管理' },
      component: () => import('@/views/Park/Enterprise/index')
    },
    // 添加 / 编辑企业
    {
      path: 'enterprise/editor',
      hidden: true,
      permission: 'park:enterprise:add_edit',
      component: () => import('@/views/Park/Enterprise/EnterpriseEditor')
    },
    // 企业详情
    {
      path: 'enterprise/details/:id',
      hidden: true,
      permission: 'park:enterprise:query',
      component: () => import('@/views/Park/Enterprise/EnterpriseDetails')
    }
  ]
}
